import request from '@/utils/request'

export function getPageDataApi (data) {
  return request({
    url: '/api/product.produce/index',
    method: 'post',
    data
  })
}

export function readProduceApi (data) {
  return request({
    url: "/api/product.produce/read",
    method: "post",
    data,
  });
}

export function createProduceApi (data) {
  return request({
    url: "/api/product.produce/create",
    method: "post",
    data,
  });
}

export function editProduceApi (data) {
  return request({
    url: "/api/product.produce/save",
    method: "post",
    data,
  });
}

export function deleteProduceApi (data) {
  return request({
    url: "/api/product.produce/delete",
    method: "post",
    data,
  });
}

export function getProduceListApi (data) {
  return request({
    url: "/api/product.produce/getList",
    method: "post",
    data,
  });
}

